﻿using EasyLanguage.Model;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EasyLanguage.DataAccess
{
    public class EasyLanguageDataContext : DbContext
    {
        public DbSet<User> Users { get; set; }
        public DbSet<Account> Accounts { get; set; }
        public DbSet<Dictionary> Dictionaries { get; set; }
        public DbSet<Word> Words { get; set; }
        public DbSet<Country> Countries { get; set; }
        public DbSet<Test> Tests { get; set; }

        public EasyLanguageDataContext() : base("name=EasyLanguage") { }
    }
}
